package com.woniuxy.springboot01.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author author
 * @Create 2023-09-07 17:07
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Dep {
    private Integer did;
    private String dname;
    //一对多:
    private List<Emp> emps;
}
